package com.merry.rsautils.vo;

import com.merry.rsautils.annotation.FieldWithRsa;
import com.merry.rsautils.annotation.ObjectWithRsa;

import java.util.List;

public class Entity1 {


    @FieldWithRsa
    private String idcard;

    private String tel;

    @ObjectWithRsa(clazz = SubEntity1.class)
    private SubEntity1 subEntity1;

    @ObjectWithRsa(clazz = SubEntity1.class)
    private List<SubEntity1> subEntity1s;

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public SubEntity1 getSubEntity1() {
        return subEntity1;
    }

    public void setSubEntity1(SubEntity1 subEntity1) {
        this.subEntity1 = subEntity1;
    }

    public List<SubEntity1> getSubEntity1s() {
        return subEntity1s;
    }

    public void setSubEntity1s(List<SubEntity1> subEntity1s) {
        this.subEntity1s = subEntity1s;
    }

    @Override
    public String toString() {
        return "Entity1{" +
                "idcard='" + idcard + '\'' +
                ", tel='" + tel + '\'' +
                ", subEntity1=" + subEntity1 +
                ", subEntity1s=" + subEntity1s +
                '}';
    }
}
